package com.duowan.realtime.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * @version 1.0
 * @author: tangsicheng
 * @date: 14-8-27
 * @since 1.0
 */
public class SqlJob {


    private String sqlId;

    private String queryStatement;

    private String intoRedis;

    private String intoDb;

    private String errorMessage;

    private String passport;

    private String name;

    private String group;

    public SqlJob(){}

    public String getSqlId() {
        return sqlId;
    }

    public void setSqlId(String sqlId) {
        this.sqlId = sqlId;
    }

    public String getQueryStatement() {
        return queryStatement;
    }

    public void setQueryStatement(String queryStatement) {
        this.queryStatement = queryStatement;
    }

    public String getIntoRedis() {
        return intoRedis;
    }

    public void setIntoRedis(String intoRedis) {
        this.intoRedis = intoRedis;
    }

    public String getIntoDb() {
        return intoDb;
    }

    public void setIntoDb(String intoDb) {
        this.intoDb = intoDb;
    }



    @Override
    public String toString(){
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }


    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
